//
//  CGWService+HttpMessageManager.h
//  etionCBLogic
//
//  Created by chen on 14-2-14.
//  Copyright (c) 2014年 GuangZhouXuanWu. All rights reserved.
//

#import "GWService.h"

@interface CGWService (HTTPManagerService)

-(NSInteger)HTTPRESTRequestURI:(NSString*)URI extendHeadField:(NSDictionary*)headField dicData:(NSDictionary*)dic HTTPMethod:(int)nMethod output:(NSDictionary**)output protocolError:(NSError**)error;

- (XLGResult*)HTTPRESTRequestURI:(NSString*)URI extendHeadField:(NSDictionary*)headField dicData:(NSDictionary*)dic HTTPMethod:(int)nMethod;

//extend
-(NSInteger)HTTPRESTRequestURI:(NSString*)URI protocol:(EProtocolTransformType)protocol extendHeadField:(NSDictionary*)headField dicData:(NSDictionary*)dic HTTPMethod:(int)nMethod output:(NSDictionary**)output protocolError:(NSError**)error;

- (XLGResult*)HTTPRESTRequestURI:(NSString*)URI protocol:(EProtocolTransformType)protocol extendHeadField:(NSDictionary*)headField dicData:(NSDictionary*)dic HTTPMethod:(int)nMethod;

@end
